using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class opertbl
    {
        public opertbl()
        {
            this.Oedets = new List<Oedet>();
        }

        public int ID { get; set; }
        public Nullable<int> AdmID { get; set; }
        public string Category { get; set; }
        public string Subproc { get; set; }
        public int CustID { get; set; }
        public string Class { get; set; }
        public byte status { get; set; }
        public System.DateTime Date { get; set; }
        public short qty { get; set; }
        public Nullable<byte> Toothnb { get; set; }
        public string Item { get; set; }
        public string Doct { get; set; }
        public bool asksurf { get; set; }
        public string Surface { get; set; }
        public string descript { get; set; }
        public bool fromch { get; set; }
        public bool Posted { get; set; }
        public string Description { get; set; }
        public Nullable<double> Price { get; set; }
        public Nullable<int> pcode { get; set; }
        public Nullable<double> Extended { get; set; }
        public string note { get; set; }
        public Nullable<int> PlanID { get; set; }
        public Nullable<bool> importpriceflag { get; set; }
        public Nullable<double> DiscPerc { get; set; }
        public Nullable<double> DiscAmt { get; set; }
        public Nullable<System.DateTime> expirydate { get; set; }
        public string location { get; set; }
        public Nullable<byte> ordqty { get; set; }
        public string ChartCode { get; set; }
        public Nullable<byte> Bridge_start { get; set; }
        public Nullable<byte> Bridge_end { get; set; }
        public Nullable<byte> SR_M { get; set; }
        public Nullable<byte> SR_L { get; set; }
        public Nullable<byte> SR_D { get; set; }
        public Nullable<byte> SR_B { get; set; }
        public Nullable<byte> SR_O { get; set; }
        public Nullable<byte> modifier { get; set; }
        public Nullable<byte> VOID_Removed { get; set; }
        public Nullable<System.DateTime> VR_date { get; set; }
        public Nullable<int> VR_User { get; set; }
        public Nullable<int> User { get; set; }
        public Nullable<int> GID { get; set; }
        public Nullable<bool> OPR_DentalLab { get; set; }
        public string File_Primary_key { get; set; }
        public Nullable<bool> OP_Saved { get; set; }
        public Nullable<bool> OP_Note_Closed { get; set; }
        public Nullable<int> opertbl_PlannedProcedure { get; set; }
        public Nullable<int> Opertbl_AuthBy { get; set; }
        public Nullable<System.DateTime> Opertbl_AuthOn { get; set; }
        public Nullable<int> Opertbl_ApprovedBy { get; set; }
        public Nullable<System.DateTime> Opertbl_ApprovedOn { get; set; }
        public Nullable<double> Opertbl_Grade { get; set; }
        public Nullable<int> Opertbl_Priority { get; set; }
        public Nullable<bool> Opertbl_Completed { get; set; }
        public string Opertbl_Order { get; set; }
        public Nullable<short> Opertbl_Visit { get; set; }
        public Nullable<short> Opertbl_Phase { get; set; }
        public Nullable<short> Opertbl_TimeUnit { get; set; }
        public Nullable<double> Opertbl_Coverage { get; set; }
        public string Opertbl_INSAuth_NB { get; set; }
        public virtual ICollection<Oedet> Oedets { get; set; }
        public virtual PriceLst PriceLst { get; set; }
    }
}
